package com.novax.ex.activity.open.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Description: 分期配置 request
 *
 * @author chenxi
 * @date 11/30/22 14:23
 */
@Schema(description = "ieo分期配置 request")
@Data
public class IeoStagesRequest {

    /**
     * 期数
     */
    @NotNull
    @Schema(description = "期数")
    private Integer number;

    /**
     * 解锁时间
     */
    @NotNull
    @Schema(description = "解锁时间")
    private Date unlockTime;

    /**
     * 发放百分比
     */
    @NotNull
    @Schema(description = "发放百分比")
    private BigDecimal amount;

}
